package com.songlanyun.modules.celebrity.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.songlanyun.modules.celebrity.entity.UserApplyNetRed;
import com.songlanyun.modules.celebrity.model.UserApplyNetRedVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 网红申请 DAO
 * 
 * @author zx
 * @date 2021年3月2日 15:41:25
 *
 */
@Mapper
public interface UserApplyNetRedDao extends BaseMapper<UserApplyNetRed> {
    IPage<UserApplyNetRedVO> selectApplyNetRedVOPage(IPage<UserApplyNetRed> page, @Param("params") Map<String, Object> params);
    UserApplyNetRedVO selectLatestOneByUserId(@Param("userId") Long userId);
    UserApplyNetRedVO selectOneById(@Param("id") Long id);
}
